//package wypozyczalnia.dao;
//
//import java.util.List;
//
//import org.hibernate.SessionFactory;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Repository;
//
////import wypozyczalnia.domain.Complaint;
//
////@Repository
////public class ComplaintDao extends GenericDao<Complaint> {
////
////	@Autowired
////	public ComplaintDao(SessionFactory sf) {
////		super(Complaint.class, sf);
////	}
////
////	@SuppressWarnings("unchecked")
////	@Override
////	public List<Complaint> getAll() {
////		return getHibernateTemplate().find("from Complaint");
//	}
//}
